<?php 
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
require 'jtools.inc';
require 'mysql_connect.php';

$vQuery = "SELECT iPhone, iPad, Android, Mobile, iPhone + iPad + Android + Mobile AS Total FROM OverviewMetrics WHERE MetricType='Downloads'";
$rsMetrics = mysql_query($vQuery) or die ('Invalid Query 123: ' . mysql_error());
$rsMetric = mysql_fetch_array($rsMetrics,MYSQL_BOTH);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <head><title>App Manager Console...</title>
        <meta name="keywords" content="App Manager, appmanager" />
        <meta name="description" content="App Manager" />
        <meta name="abstract" content="App Manager" />
        <meta name="robots" content="All">
        <meta name="robots" content="noindex, nofollow">
        <meta name="copyright" content="Copyright EPR Media Ltd" />
        <meta name="author" content="EPR Media Ltd" />
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
        <meta content="no" http-equiv="imagetoolbar" />
        <title>Jasdip.co.uk # Mobile App Development Platform</title>
        <link rel="shortcut icon" href="http://www.appmanager.co.uk/admin_us_broker/favicon.ico"/>
        <link href="style.css" rel="stylesheet" type="text/css">
	<link href="css/slider.css" rel="stylesheet" type="text/css">
        <link href="css/style.css" media="all" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" href="css/jquery-ui-1.8.16.custom.css" type="text/css" media="screen" />
	<link rel="Stylesheet" type="text/css" href="css/jPicker-1.1.6.min.css" />

	<script src="js/jquery-1.6.2.min.js"  type="text/javascript"></script> 
	<script src="js/jquery-ui-1.8.16.custom.min.js"  type="text/javascript"></script>
	<script src="js/jquery.jcarousel.pack.js"  type="text/javascript"></script>
	<script src="js/jquery-func.js" type="text/javascript"></script>
		
	<script src="js/jpicker-1.1.6.min.js" type="text/javascript"></script>
	<!--<script src="js/jquery.js" type="text/javascript"></script>-->
	<script src="http://www.appmanager.co.uk/admin_us_broker/js/javascri.js" type="text/javascript"></script>
        <script src="js/jquery.getParams.js" type="text/javascript"></script>
        <script src="js/jquery.bestupper.min.js" type="text/javascript"></script>
        <script src="js/jquery.alphanumeric.js" type="text/javascript"></script>
        <script src="js/jquery.form-defaults.js" type="text/javascript"></script>
        <script src="js/textLimit.min.js" type="text/javascript"></script>
        <script src="js/ipublish.js" type="text/javascript"></script>
	<script src="js/iphone-style-checkboxes.js" type="text/javascript" charset="utf-8"></script>
        	<script type="text/javascript" charset="utf-8" src="js/site.js"></script>
	<script type="text/javascript" src="fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
	<script type="text/javascript" src="fancybox/jquery.fancybox-1.3.4.pack.js"></script>
	<script type="text/javascript" src="js/ajaxfileupload.js"></script>
	<link rel="stylesheet" type="text/css" href="fancybox/jquery.fancybox-1.3.4.css" media="screen" />
  </head>
    <body>
        <div class="outside2">

            <div class="header_wrap cc">


                <div class="header_wrap cc">
                    <script>

    $(document).ready(function(){
        $('[rel=tooltip]').bind('mouseover', function(){
            var theMessage = $(this).attr('content');
            $('<div class="tooltip">' + theMessage + '</div>').appendTo('body').fadeIn('fast');

            $(this).bind('mousemove', function(e){
                $('div.tooltip').css({
                    'top': e.pageY - ($('div.tooltip').height())+10,
                    'left': e.pageX +30
                });
            });
        }).bind('mouseout', function(){
            $('div.tooltip').fadeOut('fast', function(){
                $(this).remove();
            });
        });
    });
	
</script>
<div class="lftop">
    <a href="home.php" class="logo">
        <img src="images/logo/logo.png"/>
    </a>
</div>
<div class="right_topwrap">
    <div class="topwrap cc">
        <p class="phonetop">Phone Support (from 8am to 5pm): 212 209 1005	</p>
        <div class="agentwrap">
            <ul class="toplinks">
                <li class="notif_ic"><a href="stats.php#" content="Powered by Digital Planit" rel="tooltip">&nbsp;</a></li>
                <li class="mail_ic"><a href="mailto:support@realtysmartapps.com">&nbsp;</a></li>
              
                <li class="help_ic"><a href="mailto:support@realtysmartapps.com" >&nbsp;</a></li>  
				<li class="settings_ic"><a href="app_property_settings.php">&nbsp;</a></li>            </ul>
        </div></div>
    <ul class="main_menu cc">
        <li class="homelk"><a href="home.php"><span>Home</span></a></li>
        <li  class="brokers"><a href="brokers.php"><span>My Details</span></a></li>        <li  class="testimonials"><a href="testimonials.php"><span>Testimonials</span></a></li>
        <!--li class="tour"><a href="tour.php"><span>Tour</span></a></li-->
        <li class="news"><a href="news.php"><span>News</span></a></li>
        <li class="abouttext"><a href="about-text.php"><span>About Text</span></a></li>
        <li class="stats"><a href="stats.php"><span>Stats</span></a></li>        <!--li class="images"><a href="images.php"><span>Images</span></a></li-->        <!--<li class="advert"><a href="adverts.php"><span>Adverts</span></a></li>
        <li class="notification"><a href="notifications.php"><span>Notification</span></a></li>
	<li class="payment "><a href="payment.php"><span>Payment</span></a></li>-->
        <li class="logout"><a href="login.php?pAction=<?=jencrypt('logout')?>"><span>Log Out</span></a></li>
    </ul>
</div>

<div id="menu">

</div>

</div>
                </div>
            </div>

            <div class="container_wrap">
                <!--<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<head><title>App Manager Console...</title>
<meta name="keywords" content="App Manager, appmanager" />
<meta name="description" content="App Manager" />
<meta name="abstract" content="App Manager" />
<meta name="robots" content="All">
<meta name="robots" content="noindex, nofollow">
<meta name="copyright" content="Copyright EPR Media Ltd" />
<meta name="author" content="EPR Media Ltd" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="no" http-equiv="imagetoolbar" />
<title>Jasdip.co.uk # Mobile App Development Platform</title>
<link rel="shortcut icon" href="favicon.ico"/>
<link href="style.css" rel="stylesheet" type="text/css">
<link href="css/style.css" media="all" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="jquery.tabs.css" type="text/css" media="print, projection, screen">
<!-- Additional IE/Win specific style sheet (Conditional Comments) -->
<!--[if lte IE 7]>
<link rel="stylesheet" href="jquery.tabs-ie.css" type="text/css" media="projection, screen">
<![endif]-->
<!--
<script src="js/cufon-yui.js" type="text/javascript"></script>
<script src="js/bebas_400-bebas_neue_400.font.js" type="text/javascript"></script>
<script src="js/myriad_pro_400.font.js" type="text/javascript"></script>

<script src="js/optimusPrinceps_500-optimusprincepssemibold_600.font.js" type="text/javascript"></script>
-->
<!--<script src="js/jquery.getParams.js" type="text/javascript"></script>
<script src="js/jquery.bestupper.min.js" type="text/javascript"></script>
<script src="js/jquery.alphanumeric.js" type="text/javascript"></script>
<script src="js/textLimit.min.js" type="text/javascript"></script>
<script src="js/ipublish.js" type="text/javascript"></script>-->
<script type="text/javascript">
/*Cufon.replace('h1, .blue_panel .text', { fontFamily: 'Myriad Pro' });
Cufon.replace('.top_wrap .text', { fontFamily: 'Myriad Pro' });*/

</script>
<!--<script src="js/jquery.js" type="text/javascript"></script>-->
<script type="text/javascript">
	
    $(document).ready(function() {
		
		$('.stats').addClass('active');
		
});

</script>
<script type="text/javascript">	

  $(function() {
	/*$('tr.parent')
		.css("cursor","pointer")
		.attr("title","Click to expand/collapse")
		.click(function(){
			$(this).siblings('.child-'+this.id).toggle();
		});
	$('tr[class^=child-]').hide().children('td');
	*/
	$('#to_buy_header').click(function(){
		if($("#to_buy_content").html()==''){			
			$('#img_loading_to_buy').toggle();
			$.ajax({					
						type: "POST",
						data: "content_for=to_buy",
						url: "get_table_content.php",					
						success: function(results) {
							$("#to_buy_content").html(results);
							$('#img_loading_to_buy').toggle();
							if ($('#to_adv_content:visible'))
								$('.child-row12311').css("display","table-row");
							if ($('#to_sp_content:visible'))
								$('.child-row12311').css("display","none");
						} 
					});
		}
		$('#to_buy_content').toggle("slow");
		
	});
	//------------------------------
	$('#to_rent_header').click(function(){
		if($("#to_rent_content").html()==''){			
			$('#img_loading_to_rent').toggle();
			$.ajax({					
						type: "POST",
						data: "content_for=to_rent",
						url: "get_table_content.php",					
						success: function(results) {
							$("#to_rent_content").html(results);
							$('#img_loading_to_rent').toggle();
							if ($('#to_adv_content:visible'))
								$('.child-row12311').css("display","table-row");
							if ($('#to_sp_content:visible'))
								$('.child-row12311').css("display","table-row");
						} 
					});
		}
		$('#to_rent_content').toggle("slow");		
	});
	//----------------------------
	$('#to_oh_header').click(function(){		
		if($("#to_oh_content").html()==''){	
			$('#img_loading_to_oh').toggle();		
			$.ajax({					
						type: "POST",
						data: "content_for=to_oh",
						url: "get_table_content.php",					
						success: function(results) {
							$("#to_oh_content").html(results);
							$('#img_loading_to_oh').toggle();
							if ($('#to_adv_content:visible'))
								$('.child-row12311').css("display","table-row");
							if ($('#to_sp_content:visible'))
								$('.child-row12311').css("display","table-row");
						} 
					});
		}
		$('#to_oh_content').toggle("slow");		
	});
	//----------------------------
	/*$('#to_adv_header').click(function(){		
		if($("#to_adv_content").html()==''){	
			$('#img_loading_to_adv').toggle();		
			$.ajax({					
						type: "POST",
						data: "content_for=to_adv",
						url: "get_table_content.php",					
						success: function(results) {
							$("#to_adv_content").html(results);
							$('#img_loading_to_adv').toggle();
						} 
					});
		}
		$('#to_adv_content').toggle("slow");		
	});*/
	//----------------------------
	/*$('#to_sp_header').click(function(){		
		if($("#to_sp_content").html()==''){	
			$('#img_loading_to_sp').toggle();		
			$.ajax({					
						type: "POST",
						data: "content_for=salespeople",
						url: "get_table_content.php",					
						success: function(results) {
							  $("#to_sp_content").html(results);
							  $('#img_loading_to_sp').toggle();
						} 
					});
		}
		$('#to_sp_content').toggle("slow");		
	});*/
});

</script>
<!--</head>
	<body>
		<div class="outside2">

			<div class="header_wrap cc">
				

<div class="header_wrap cc">
				
			</div>
			</div>

<div class="container_wrap">-->
<link href="css/stats.css" rel="stylesheet" type="text/css">
	<div class="topshadow">&nbsp;</div>
	<div class="lineshadow">
		<div class="middle cc">
		<div class="cc"><img src="images/jasdip_logo.png" class="piclg">
			<div class="introtext">
<ul class="listlogos cc">
</ul>
<br>
<h1 class="say-hello"><cufon class="cufon cufon-canvas" alt="Come " style="width: 54px; height: 20px;"><canvas width="68" height="20" style="width: 68px; height: 20px; top: 0px; left: -1px;"></canvas><cufontext>Come </cufontext></cufon><cufon class="cufon cufon-canvas" alt="on, " style="width: 31px; height: 20px;"><canvas width="45" height="20" style="width: 45px; height: 20px; top: 0px; left: -1px;"></canvas><cufontext>on, </cufontext></cufon><cufon class="cufon cufon-canvas" alt="say " style="width: 32px; height: 20px;"><canvas width="46" height="20" style="width: 46px; height: 20px; top: 0px; left: -1px;"></canvas><cufontext>say </cufontext></cufon><cufon class="cufon cufon-canvas" alt="hello!" style="width: 46px; height: 20px;"><canvas width="60" height="20" style="width: 60px; height: 20px; top: 0px; left: -1px;"></canvas><cufontext>hello!</cufontext></cufon></h1>

</div></div>
			
			<h2>Stats</h2>
			<h3>Overview</h3>
			<table cellspacing="0" cellpadding="0" border="1"  class="overview">
				<tbody>
					<tr class="header">
						<td class="first"><p>&nbsp;</p></td>
						<td><p>iPhone</p></td>
						<td><p>iPad</p></td>
						<td><p>Android</p></td>
						<td><p>Mobile Site</p></td>
						<td><p>Total</p></td>
				      </tr>
				      <tr class="content">
						<td class="first"><p style="text-align:left">Downloads</p></td>
						<td><p> <?=$rsMetric["iPhone"]?> </p></td>
						<td><p> <?=$rsMetric["iPad"]?> </p></td>
						<td><p> <?=$rsMetric["Android"]?> </p></td>
						<td><p> <?=$rsMetric["Mobile"]?> </p></td>
						<td><p> <?=$rsMetric["Total"]?> </p></td>
				      </tr>
				      <!--<tr>
						<td class="firt"><p style="text-align:left">Notifications</p></td>
						<td><p></p></td>
						<td><p></p></td>
						<td><p></p></td>
						<td><p></p></td>
						<td><p></p></td>
				      </tr>-->
				</tbody>
			</table>
<p>&nbsp;</p>
<h3>Detailed Report</h3>

<table class="detail" id="detail_table">
	<colgroup><col style="width:140px;">
	<col style="width:182px;">
	<col style="width:214px;">
	<col style="width:120px;">
	<col style="width:120px;">
	<col style="width:120px;">
	<col style="width:120px;">
</colgroup><thead>
	<tr class="bgtr">
	<th colspan="7" id="to_buy_header"style="color:#fff;font-size:14px;cursor:pointer;">For Sale</th>
	</tr>	
</thead></table>
<!--<tbody>-->
<div id="img_loading_to_buy" style="display:none;"><img src="images/ajax-loader-circle.gif" style="height:20px;width:20px;"></div>
<div id="to_buy_content"style="display:none;"></div>
<!--</tbody>
</table>-->

<table class="detail" id="detail_table">
	<colgroup><col style="width:140px;">
	<col style="width:182px;">
	<col style="width:214px;">
	<col style="width:120px;">
	<col style="width:120px;">
	<col style="width:120px;">
	<col style="width:120px;">
</colgroup><thead>
	<tr class="bgtr">
		<th colspan="7" id="to_rent_header"style="color:#fff;font-size:14px;cursor:pointer;">To Rent</th>		
	</tr>	
</thead>
</table>
<div id="img_loading_to_rent" style="display:none;"><img src="images/ajax-loader-circle.gif" style="height:20px;width:20px;"></div>
<div id="to_rent_content"style="display:none;"></div>

<!--==================================================================================================================================new table-->
<table class="detail" id="detail_table">
	<colgroup><col style="width:140px;">
	<col style="width:182px;">
	<col style="width:214px;">
	<col style="width:120px;">
	<col style="width:120px;">
	<col style="width:120px;">
	<col style="width:120px;">
</colgroup><thead>
	<tr class="bgtr">
		<th colspan="7" id="to_oh_header"style="color:#fff;font-size:14px;cursor:pointer;">Open House</th>		
	</tr>	
</thead>
</table>
	<div id="img_loading_to_oh" style="display:none;"><img src="images/ajax-loader-circle.gif" style="height:20px;width:20px;"></div>
<div id="to_oh_content"style="display:none;"></div>	

<!--==================================================================================================================================new table-->
<!--<table class="detail" id="detail_table">
	<colgroup><col style="width:140px;">
	<col style="width:182px;">
	<col style="width:214px;">
	<col style="width:120px;">
	<col style="width:120px;">
	<col style="width:120px;">
	<col style="width:120px;">
</colgroup><thead>
	<tr class="bgtr">
		<th colspan="7" id="to_adv_header" style="color:#fff;font-size:14px;cursor:pointer;">Adverts</th>		
	</tr>	
</thead>
</table>
	<div id="img_loading_to_adv" style="display:none;"><img src="images/ajax-loader-circle.gif" style="height:20px;width:20px;"></div>
<div id="to_adv_content"style="display:none;"></div>	-->
<!--==================================================================================================================================new table-->
<!--<table class="detail" id="detail_table">
	<colgroup><col style="width:140px;">
	<col style="width:182px;">
	<col style="width:214px;">
	<col style="width:120px;">
	<col style="width:120px;">
	<col style="width:120px;">
	<col style="width:120px;">
</colgroup><thead>
	<tr class="bgtr">
		<th colspan="7" id="to_sp_header"style="color:#fff;font-size:14px;cursor:pointer;">Agents / Brokers</th>		
	</tr>	
</thead>
</table>
	<div id="img_loading_to_sp" style="display:none;"><img src="images/ajax-loader-circle.gif" style="height:20px;width:20px;"></div>
<div id="to_sp_content"style="display:none;"></div>	-->

		</div>
	</div>
<!--</div>	

<div class="footer_wrap2 cc">
	<div class="bgfooter cc">
		
		</div>

</div>

		</div>

	<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-19667077-4']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>	

	</body>
</html>-->
            </div>	

            <div class="footer_wrap2 cc">
                <div class="bgfooter cc">
                    <div id="footer" style="height:5px;">
   
    
    <div id="livechat">
       <!--Start of Zopim Live Chat Script-->
<script type="text/javascript">

window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s=
d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set.
_.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute('charset','utf-8');
$.src='//cdn.zopim.com/?EY1bhMwTGUgOJq2RAZUjK8xKzvolaxRf';z.t=+new Date;$.
type='text/javascript';e.parentNode.insertBefore($,e)})(document,'script');

</script>
<!--End of Zopim Live Chat Script-->
    </div>
    <!--p class="privacy"><a href="privacy-statement.php">Privacy Statement</a></p-->
</div>

                </div>

            </div>

        </div>

        <script type="text/javascript">
            
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-19667077-4']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
            
        </script>	

    </body>
</html>